<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BActionGroup</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<h1>BActionGroup</h1>
		<p>Inherites from <a href="BObject.html">BObject</a></p>
		<p id="resume"></p>
		<h2>public</h2>
		<table id="public"><tr><td align="right"></td><td><a href="#BActionGroup(const BString&)">BActionGroup</a>(const BString& name = BString());</td></tr>
			<tr><td align="right"></td><td><a href="#~BActionGroup()">~BActionGroup</a>();</td></tr>
			<tr><td align="right">void </td><td><a href="#setSelectMode(SelectMode)">setSelectMode</a>(SelectMode selectMode);</td></tr>
			<tr><td align="right">SelectMode </td><td><a href="#selectMode()">selectMode</a>() const;</td></tr>
			<tr><td align="right">bool </td><td><a href="#addAction(BAction*)">addAction</a>(BAction* action);</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#addAction(const BString&)">addAction</a>(const BString& text);</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#addAction(BIcon*,const BString&)">addAction</a>(BIcon* icon, const BString& text = BString());</td></tr>
			<tr><td align="right">bool </td><td><a href="#removeAction(BAction*)">removeAction</a>(BAction* action);</td></tr>
			<tr><td align="right">int </td><td><a href="#actionCount()">actionCount</a>() const;</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#action(int)">action</a>(int index);</td></tr>
			<tr><td align="right">const BAction* </td><td><a href="#action(int)">action</a>(int index) const;</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#action(const BString&)">action</a>(const BString& text);</td></tr>
			<tr><td align="right">const BAction* </td><td><a href="#action(const BString&)">action</a>(const BString& text) const;</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#actionOfAsset(const BValue&)">actionOfAsset</a>(const BValue& asset);</td></tr>
			<tr><td align="right">const BAction* </td><td><a href="#actionOfAsset(const BValue&)">actionOfAsset</a>(const BValue& asset) const;</td></tr>
			<tr><td align="right">BAction* </td><td><a href="#checkedAction()">checkedAction</a>() const;</td></tr>
			<tr><td align="right">void </td><td><a href="#uncheck()">uncheck</a>();</td></tr>
		</table>
		<div id="desc">
			<h2>Detailed Description : </h2>
			<p> The BActionGroup class groups actions together. In some situations it is useful to group BAction objects together. For example, if you have a lot of actions to connect a slot you can use this group to catch Signal_Trigger and Signal_Checked of all actions to connect the slot. 
			</p>
			<p>The group can keep the number of action checked depending to select mode. Default value of select mode is Select_Mutiple, which means several actions can be checked at some time. If the select mode is Select_Single, only one action can be checked, when an action is set checked, the others will be set unchecked. If select mode is not one of Select_Mutiple and Select_Single, every action can't be checked.</p>
			<h3>Signals:</h3><table>
				<tr><td>Signal_Trigger</td><td>Emited when any action is triggered, the value is action triggered.</td></tr>
				<tr><td>Signal_Checked</td><td>Emited when any action is checked, the value is action checked.</td></tr></table>
		</div>
		<h2 id="docs">Member Documentation</h2>
		<div id="BActionGroup(const BString&)">
			<h3>BActionGroup(const BString& name = BString());</h3>
			<p>Constructs an action group with name.</p>
		</div>
		<div id="~BActionGroup()">
			<h3>~BActionGroup();</h3>
			<p>Destroy an action group.</p>
		</div>
		<div id="setSelectMode(SelectMode)">
			<h3>void setSelectMode(SelectMode selectMode);</h3>
			<p>Set the select mode of group, select mode defines how to adjust actions when action's check state change.</p>
		</div>
		<div id="selectMode()">
			<h3>SelectMode selectMode() const;</h3>
			<p/>
			<p>Get select mode of group.</p>
		</div>
		<div id="addAction(BAction*)">
			<h3>bool addAction(BAction* action);</h3>
			<p>Append an action to this group.</p>
		</div>
		<div id="addAction(const BString&)">
			<h3>BAction* addAction(const BString& text);</h3>
		</div>
		<div id="addAction(BIcon*,const BString&)">
			<h3>BAction* addAction(BIcon* icon, const BString& text = BString());</h3>
		</div>
		<div id="removeAction(BAction*)">
			<h3>bool removeAction(BAction* action);</h3>
			<p>Remove an action from this action group.</p>
		</div>
		<div id="actionCount()">
			<h3>int actionCount() const;</h3>
			<p>Get number of actions in this group.</p>
		</div>
		<div id="action(int)">
			<h3>BAction* action(int index);</h3>
			<p>Get action at index of this group.</p>
		</div>
		<div id="action(int)">
			<h3>const BAction* action(int index) const;</h3>
		</div>
		<div id="action(const BString&)">
			<h3>BAction* action(const BString& text);</h3>
			<p>Get action by the text.</p>
		</div>
		<div id="action(const BString&)">
			<h3>const BAction* action(const BString& text) const;</h3>
		</div>
		<div id="actionOfAsset(const BValue&)">
			<h3>BAction* actionOfAsset(const BValue& asset);</h3>
		</div>
		<div id="actionOfAsset(const BValue&)">
			<h3>const BAction* actionOfAsset(const BValue& asset) const;</h3>
		</div>
		<div id="checkedAction()">
			<h3>BAction* checkedAction() const;</h3>
		</div>
		<div id="uncheck()">
			<h3>void uncheck();</h3>
		</div>
	</body>
</html>